<html>
	<head>
		<title>Pinnacle Books | Add Item</title>
		<link rel="shortcut icon" href="/public/images/fav.ico" />
		<link rel="stylesheet" href="/public/stylesheets/main.css" type="text/css" media="screen" />
		<script type="text/javascript" src="/public/javascripts/addItem.js" ></script>
		<script type="text/javascript" src="/public/javascripts/jquery-1.6.4.min.js"></script>
		<script type="text/javascript">
 function delay(){
  window.setTimeout("direct()",5000);
 }
 function direct(){
 self.location="index";
 }
</script>
		<script>
		function clear_image() {
			$("#book_image").empty();
		}
		
		function lookup() {
			var isbn = $("#isbn").val();
			if(isbn != ""){
				//Reset
				clear_image();
				//Lookup book image
				$("#book_image").append("<img src='http://covers.openlibrary.org/b/isbn/" + isbn + "-M.jpg' />");
				//Display image
				$("#book_image").fadeIn("slow");
			}
		}		
		</script>
	</head>

	<body onLoad="javascript: delay()">
		<div id="container">
			<!--Page Header-->
			#{include 'header.html'/}
			
			<!--Page Title-->
			<br /><img src="/public/images/layout/header_admin.jpg" />
			
			<!--Page Content-->
			<p>${confirmMessage}</p>
			<P>Redirecting to admin page in automatically in 5 seconds.</P>
			<a href="index"><P>If you are not redirected, click here</P></a>
			
			<!--Page Footer-->
			#{include 'footer.html'/}
		</div>
	</body>
</html>